package main

import "fmt"

func main() {
	var a [2]string
	a[0] = "Hello"
	a[1] = "World"
	fmt.Println(a[0], a[1])
	fmt.Println(a)
	arr4 := [...]int{1:2, 0:1}//不指定数组长度
	fmt.Println(arr4)

	arr5 := [...]int{3:9}
	fmt.Println(arr5)
}
